Image recording apparatus

ABSTRACT

An image recording apparatus includes: a first communication interface configured to perform communication according to a first communication standard; a second communication interface configured to perform communication according to a second communication standard that is different from the first communication standard and that is a wireless communication standard; an image recorder; and a controller. The controller receives image data and first identification information from an image-data output device via the first communication interface. The controller broadcasts the received first identification information via the second communication interface.

CROSS REFERENCE TO RELATED APPLICATION

The present application claims priority from Japanese Patent ApplicationNo. 2015-036934, which was filed on Feb. 26, 2015, the disclosure ofwhich is herein incorporated by reference in its entirety.

BACKGROUND

1. Technical Field

The following disclosure relates to an image recording apparatusconfigured to receive image data from an image-data output device andexecute a print processing for printing an image based on the receivedimage data.

2. Description of the Related Art

There is known an image recording apparatus configured to receive imagedata from an image-data output device such as a scanner and execute aprint processing for printing an image based on the received image data.

SUMMARY

In such an image recording apparatus, a user usually operates thescanner to select a printer that is to execute the print processing.However, a display of the scanner in most cases can display only a smallamount of information such as a name of printer. This limitation makesit difficult for the user to identify the location of the printer thatis to execute the print processing, based on information displayed onthe display. Accordingly, an aspect of the disclosure relates to atechnique capable of easily identifying a printer that is to execute aprint processing.

In one aspect of the disclosure, an image recording apparatus includes:a first communication interface configured to perform communicationaccording to a first communication standard; a second communicationinterface configured to perform communication according to a secondcommunication standard that is different from the first communicationstandard and that is a wireless communication standard; an imagerecorder; and a controller. The controller is configured to perform:receiving image data and first identification information from animage-data output device via the first communication interface, thefirst identification information being identification information thatis stored in a mobile terminal; and broadcasting the received firstidentification information via the second communication interface.

In one aspect of the disclosure, an image recording apparatus includes:a first communication interface configured to perform communicationaccording to a first communication standard; a second communicationinterface configured to perform communication according to a secondcommunication standard that is different from the first communicationstandard and that is a wireless communication standard; an imagerecorder; and a controller. The controller is configured to perform:receiving image data and first identification information from animage-data output device via the first communication interface, thefirst identification information being identification information thatis stored in a mobile terminal; and when the controller receives thefirst identification information from the mobile terminal via the secondcommunication interface, transmitting a response to the reception of thefirst identification information to the mobile terminal via the secondcommunication interface.

BRIEF DESCRIPTION OF THE DRAWINGS

The objects, features, advantages, and technical and industrialsignificance of the present disclosure will be better understood byreading the following detailed description of the embodiments, whenconsidered in connection with the accompanying drawings, in which:

FIG. 1 is a block diagram illustrating a communication system;

FIG. 2 is a flow chart illustrating processings executed by a scanner;

FIG. 3 is a flow chart illustrating processings executed by a printer;

FIG. 4 is a flow chart illustrating processings executed by the printer;

FIG. 5 is a flow chart illustrating processings executed by a mobilephone;

FIG. 6 is a flow chart illustrating processings executed by the mobilephone;

FIG. 7 is a flow chart illustrating processings executed by a printeraccording to a second embodiment;

FIG. 8 is a flow chart illustrating processings executed by the printeraccording to the second embodiment;

FIG. 9 is a flow chart illustrating processings executed by a mobilephone in the second embodiment; and

FIG. 10 is a flow chart illustrating processings executed by the mobilephone in the second embodiment.

DETAILED DESCRIPTION OF THE EMBODIMENTS Configuration of CommunicationSystem

FIG. 1 illustrates a communication system 1 including a scanner 10 asone example of an image-data output device, a printer 30 as one exampleof an image recording apparatus, a printer 31, and a mobile phone 60 asone example of a mobile terminal.

The configuration of a scanner 10 will be explained. The scanner 10includes a central processing unit (CPU) 12, a storage 14, a display 16,an input interface 18, a network interface 20, a proximity wirelesscommunication interface 21, and an image reader 22. These devices arecommunicable with each other via an input/output port 24.

The display 16 has a display surface for displaying various kinds offunctions of the scanner 10. The input interface 18 includes keys forimplementation of the functions of the scanner 10. One example of theinput interface 18 is a touch screen provided integrally with thedisplay 16. In this case, the input interface 18 accepts a useroperation performed on an icon displayed on the display 16. Otherexamples of the input interface 18 include hardware keys. In the casewhere the input interface 18 includes hardware keys, the scanner 10accepts an operation on one of the keys which corresponds to an icondisplayed on the display 16. The image reader 22 executes a scanprocessing for creating image data by reading an image formed on adocument. Examples of the image reader 22 include a CCD image sensor anda contact image sensor.

The network interface 20 communicates with external devices. The networkinterface 20 is connected to a printer 30 and the printer 31 located ona network on which the scanner 10 is located. That is, the networkinterface 20 is capable of carrying out communication using a wired LANas one example of a first communication standard. With thisconfiguration, the scanner 10 is capable of carrying out datacommunication with the printer 30 and the printer 31 via the networkinterface 20. The proximity wireless communication interface 21 iscapable of performing wireless communication in the form of Near FieldCommunication (NFC) according to ISO/IEC21481 or ISO/IEC18092. When thescanner 10 is allowed to perform the NFC wireless communication, thescanner 10 can perform data communication with the mobile phone 60.

The CPU 12 executes processings according to a scan program 26 stored inthe storage 14. The scan program 26 is a program for execution of thescan processing. Hereinafter, the CPU 12 that executes programs such asthe scan program 26 may be simply referred to as the name of theprogram. For example, the wording “the scan program 26 executes” maymean “the CPU 12 that executes the scan program 26 executes”.

The storage 14 is constituted by a combination of a random access memory(RAM), a read only memory (ROM), a flash memory, a hard disk (HDD), abuffer provided for the CPU 12, and other similar devices. The storage14 has a data storage area 28. The data storage area 28 is an area forstoring various kinds of data including: image data created by the imagereader 22; and data required for execution of the scan program 26.

The printer 30 and the printer 31 are similar in configuration to eachother, and only the printer 30 will be described by way of example. Theprinter 30 includes a CPU 32 as one example of a controller, a storage34, a display 36, an input interface 38, a network interface 40 as oneexample of a first communication interface, a short distance wirelesscommunication interface 42 as one example of a second communicationinterface, an image recorder 44, an LED 46 as one example of a notifier,and a sensor 47. These devices are communicable with each other via aninput/output port 48.

The display 36 has a display surface for displaying various kinds offunctions of the printer 30. The input interface 38 includes keys forimplementation of the functions of the printer 30. One example of theinput interface 38 is a touch screen provided integrally with thedisplay 36. In this case, the input interface 38 accepts a useroperation performed on an icon displayed on the display 36. Otherexamples of the input interface 38 include hardware keys. In the casewhere the input interface 38 includes hardware keys, the printer 30accepts an operation on one of the keys which corresponds to an icondisplayed on the display 36. The image recorder 44 is a printingmechanism such as an ink-jet head. The CPU 32 inputs drive signals tothe image recorder 44. In the case where the image recorder 44 is anink-jet head, the ink jet head ejects ink from its nozzles based on theinput drive signals.

The LED 46 is provided on an outer surface of a housing of the printer30. The LED 46 is energized to blink for visual recognition of a user.The sensor 47 is provided on a discharge tray for supporting printedsheets. The sensor 47 detects the presence or absence of sheet on thedischarge tray.

The network interface 40 communicates with external devices. The networkinterface 40 is connected to the scanner 10 located on the network onwhich the printer 30 is located. With this configuration, the printer 30is capable of carrying out data communication with the scanner 10. Theshort distance wireless communication interface 42 is capable ofperforming wireless communication using Bluetooth® (registered trademarkof Bluetooth SIG) Low Energy (BLE) according to IEEE 802.15.1 andstandards equivalent to it which are one example of a secondcommunication standard. When the printer 30 is allowed to perform theBLE wireless communication, the printer 30 can perform datacommunication with the mobile phone 60.

The CPU 32 executes processings according to a print program 50 storedin the storage 34. The print program 50 is a program for execution ofthe print processing. Hereinafter, the CPU 32 that executes programssuch as the print program 50 may be simply referred to as the name ofthe program. For example, the wording “the print program 50 executes”may mean “the CPU 32 that executes the print program 50 executes”.

The storage 34 is constituted by a combination of a RAM, a ROM, a flashmemory, an HDD, a buffer provided for the CPU 32, and other similardevices. The storage 34 has a data storage area 52 as one example of astorage. The data storage area 52 is an area for storing various kindsof data including data required for execution of the print program 50.

There will be next explained a configuration of the mobile phone 60. Themobile phone 60 includes a CPU 62, a storage 64, a display 66, an inputinterface 68, a short distance wireless communication interface 70, aproximity wireless communication interface 71, and a mobile phonecommunication interface 72. These devices are communicable with eachother via an input/output port 74.

The display 66 has a display surface for displaying various kinds offunctions of the mobile phone 60. The input interface 68 includes keysfor implementation of the functions of the mobile phone 60. One exampleof the input interface 68 is a touch screen provided integrally with thedisplay 66. In this case, the input interface 68 accepts a useroperation performed on an icon displayed on the display 66. Otherexamples of the input interface 68 include hardware keys. In the casewhere the input interface 68 includes hardware keys, the mobile phone 60accepts an operation on one of the keys which corresponds to an icondisplayed on the display 66.

The short distance wireless communication interface 70 is capable ofperforming wireless communication using Bluetooth according to IEEE802.15.1 and standards equivalent to it. When the mobile phone 60 isallowed to perform the Bluetooth wireless communication, the mobilephone 60 can perform data communication with the printer 30.

The proximity wireless communication interface 71 carries out the NFCwireless communication according to ISO/IEC21481 or ISO/IEC18092. Whenthe mobile phone 60 is allowed to perform the NFC wirelesscommunication, the mobile phone 60 can perform data communication withthe scanner 10.

The mobile phone communication interface 72 carries out wireless mobilephone communication with a base station 78. When the mobile phone 60 isallowed to perform wireless mobile phone communication, the mobile phone60 can perform data communication via the base station 78.

The CPU 62 executes processings according to a control application 76stored in the storage 64. The control application 76 is a program foridentification of a printer having executed the print processing.Hereinafter, the CPU 62 that executes programs such as the controlapplication 76 may be simply referred to as the name of the program. Forexample, the wording “the control application 76 executes” may mean “theCPU 62 that executes the control application 76 executes”.

The storage 64 is constituted by a combination of a RAM, a ROM, a flashmemory, an HDD, a buffer provided for the CPU 62, and other similardevices. The storage 64 has a data storage area 77. The data storagearea 77 is an area for storing various kinds of data including datarequired for execution of the control application 76.

Print Processing using Communication System

In the communication system 1, scan data created by scanning of thescanner 10 is transmitted to any one of the printer 30 and the printer31. The printer having received the scan data executes the printprocessing for printing an image based on the scan data. Since the userin some cases does not grasp the location of the printer, thecommunication system 1 uses beacons using Bluetooth low energy (BLE), tonotify the user about the location of the printer that is to execute theprint processing.

BLE communication is low power communication in which a transmitterdevice transmits a beacon signal called an advertisement packet. Thebeacon signal has a small amount of data such as signs or symbolsrequired for identification. The beacon signal does not containinstructions such as commands. The beacon signal is transmitted not to aspecific device but to a large number of unspecified devices at the sametime. That is, the beacon signal is broadcasted.

When classified according to PDU type, i.e., Simple Network ManagementProtocol (SNMP) command type, the beacon signals can be classified intofour types, namely, ADV_IND, ADV_DIRECT_IND, ADV_SCAN_IND, andADV_NONCONN_IND. In this communication system 1, the ADV_IND beaconsignals are preferably used among the beacon signals of the four types.A distance between a transmitting beacon signal and a receiving device,i.e., transmission range of the beacon signals is categorized intoImmediate, Near, and Far, one of which can be set as needed. Immediateis a transmission range within a few centimeters. Near is a transmissionrange within a couple of meters. Far is a transmission range greaterthan ten meters away. In this communication system 1, the transmissionrange of the beacon signal is preferably set to Near.

In this communication system 1, the beacon signal contains presetspecific ID information. A mobile terminal having received the beaconsignal responds to the beacon signal when ID information contained inthe received beacon signal and ID information of the mobile terminal areidentical to each other. That is, when the transmitter devicetransmitting the beacon signal receives a response to the reception ofthe beacon signal, the mobile terminal having received the beacon signalis located within the transmission range of the beacon signaltransmitted from the transmitter device. With these configurations, inthe case where the printer that is to execute the print processing isemployed as a device transmitting the beacon signal, and the mobilephone 60 is employed as a device receiving the beacon signal, the usercan be notified of the printer that is to execute the print processing.It is noted that the beacon transmitted as a response is preferably aconnection request packet for requesting a destination device to performtwo-way communication with the device transmitting the beacon.

Specifically, the user having the mobile phone 60 approaches the scanner10 and brings the mobile phone 60 close to the scanner 10 to instructthe scanner 10 to execute the scan processing. In this state,information for establishing the NFC wireless communication istransferred between the mobile phone 60 and the scanner 10. As a result,the NFC wireless communication is established. It is noted thatinformation to be transmitted from the mobile phone 60 to the scanner 10contains a serial number of the mobile phone 60 as identificationinformation for identifying the mobile phone 60.

The user can operate the scanner 10 to perform settings of the scanprocessing, such as a resolution, and settings of the print processingfor printing an image based on the scan data. The settings of the printprocessing include a setting (determination) of the printer used forexecuting the print processing, in addition to settings of a print colorand a print document size, for example. In the setting of the printer,the display 16 of the scanner 10 displays a printer selection screen forthe user to select one of the printer 30 and the printer 31 forexecution of the print processing. The user selects a desired one of theprinter 30 and the printer 31 on the printer selection screen. Thefollowing description will be provided assuming that the printer 30 isselected on the printer selection screen. The settings of the printprocessing also include a setting of whether secure printing as oneexample of storage printing is to be executed. It is noted that thesecure printing is a print processing which is executed when informationrelating to the secure printing (such as image data and print settings)is transmitted from the scanner 10 to the printer 30, then thetransmitted information is temporarily stored in the storage 34 of theprinter 30, and then an instruction for printing an image based on theinformation relating to the secure printing which is stored in thestorage 34 is input to the printer 30 through a communication pathdifferent from a communication path through which the image data (thescan data) relating to the secure printing is transmitted. In the casewhere the image data relating to the secure printing is transmitted fromthe scanner 10 to the printer 30 through a communication path includingthe network interface 40 as in the present embodiment, the printinstruction of the secure printing may be transmitted through acommunication path different from the communication path including thenetwork interface 40, for example, through a communication pathincluding the short distance wireless communication interface 42.Another example of the communication path used for transmission of theprint instruction of the secure printing is a communication path usingtwo-way BLE communication which will be described below. The printinstruction of the secure printing may be directly input to the printer30 with the input interface 38 of the printer 30, e.g., the touch screendisplayed on the display 36.

The scanner 10 executes the scan processing when a start button isoperated after the completion of the setting of the scan processing andthe setting of the print processing. The scan data created in the scanprocessing is transmitted to the printer 30 via the network interface20. In this transmission, setting information indicating the settings ofthe print processing and specific information including the serialnumber acquired from the mobile phone 60 are transmitted to the printer30 with the scan data.

Upon receiving the data from the scanner 10, the printer 30 determineswhether the print processing to be executed is the secure printing,based on the setting information contained in the data. When the printprocessing to be executed is not the secure printing, the printer 30executes the print processing for printing an image based on thereceived scan data. As a result, a sheet on which the image based on thescan data is printed is discharged onto the discharge tray.

The printer 30 continuously transmits beacon signals via the shortdistance wireless communication interface 42. The beacon signal containsan identifier, distance information, strength information, specificinformation including the serial number of the mobile phone 60, andsecure printing information. The identifier is identificationinformation for identifying the beacon signal. One example of theidentifier is a Bluetooth device address (BD address). In the BLEcommunication, a unique BD address for each Bluetooth device iscontained in each of a beacon signal that is transferred before a switchto the two-way communication and a packet that is transferred after theswitch to the two-way communication. The distance information indicatesa transmission range of the beacon signal. The strength informationindicates the strength of communication of the beacon signal. The secureprinting information indicates whether the print processing to beexecuted by the printer 30 is the secure printing.

During transmission of the beacon signal from the printer 30, the usermoves to the printer 30 or the printer 31. It is assumed that theprinter 30 and the printer 31 are spaced apart from each other at somedistance, and the user does not grasp the locations of the printer 30and the printer 31, that is, the user does not recognize which printeris the printer 30 that is to execute the print processing. When the userapproaches the printer 30 and enters the transmission range of thebeacon signal, for example, the mobile phone 60 receives the beaconsignal via the short distance wireless communication interface 70.

Upon receiving the beacon signal, the mobile phone 60 extracts thespecific information from the beacon signal and determines whether theserial number contained in the specific information matches the serialnumber of the mobile phone 60. When the serial number contained in thespecific information matches the serial number of the mobile phone 60,the mobile phone 60 transmits a response to the beacon signal to theprinter 30 via the short distance wireless communication interface 70.

Upon receiving the response to the beacon signal, the printer 30 blinksthe LED 46. This processing allows the user located near the printer 30to recognize the printer 30 having executed the print processing and getthe printed sheet from the printer 30 without doubt. It is noted thatthe LED 46 stops blinking when the printed sheet is taken from thedischarge tray of the printer 30. Also, the printer 30 stopstransmission of the beacon signal upon receiving the response to thebeacon signal.

It is noted that when the user approaches the printer 31 and does notenter the transmission range of the beacon signal transmitted from theprinter 30, the printer 30 does not blink the LED 46 because the mobilephone 60 does not receive the beacon signal from the printer 30. Sincethe printer 31 does not transmit the beacon signal, the printer 31 doesnot receive a response from the mobile phone 60 even when the mobilephone 60 enters the transmission range of the beacon signal transmittedfrom the printer 30, so that an LED of the printer 31 does not blink.This processing allows the user located near the printer 31 to recognizethat the printer 31 is not a printer that is to execute the printprocessing. When the user approaches the printer 30, the LED 46 of theprinter 30 blinks according to the above-described procedure.

When the printer 30 determines that the print processing to be executedis the secure printing, based on the setting information contained inthe data received from the scanner 10, the printer 30 stores thereceived image data into the data storage area 52 and transmits thebeacon signal via the short distance wireless communication interface42. When the user enters the transmission range of the beacon signaltransmitted from the printer 30 during this transmission, the mobilephone 60 receives the beacon signal. The mobile phone 60 transmits theresponse to the beacon signal via the short distance wirelesscommunication interface 70. It is noted that the response transmittedfrom the mobile phone 60 is in the form of a connection request packetfor requesting a switch to the two-way BLE communication.

Upon receiving the response to the beacon signal, the printer 30 stopstransmitting the beacon signal. The printer 30 then establishes thetwo-way BLE communication with the mobile phone 60 in accordance withthe request for the two-way communication from the beacon signaltransmitted from the mobile phone 60. This establishment allows transferof instructions, such as commands, between the printer 30 and the mobilephone 60. It is noted that the printer 30 blinks the LED 46 uponreceiving the response to the beacon signal.

The mobile phone 60 determines whether the print processing to beexecuted by the printer 30 is the secure printing, based on the secureprinting information contained in the beacon signal received from theprinter 30. It is assumed in this description that the mobile phone 60determines that the print processing to be executed by the printer 30 isthe secure printing. When the print processing to be executed by theprinter 30 is the secure printing, the display 66 of the mobile phone 60displays a print confirmation screen. The print confirmation screencontains an OK button and a comment indicating that the printer 30 is toexecute the secure printing. The OK button is a button for allowingexecution of the secure printing. When the OK button is operated, theprinter 30 executes the print processing.

Specifically, the OK button is operated on the display 66 of the mobilephone 60, the mobile phone 60 uses the two-way BLE communication totransmit a print instruction to the printer 30. Upon receiving the printinstruction from the mobile phone 60, the printer 30 executes the printprocessing based on the image data stored in the data storage area 52.The printer 30 discharges the sheet printed in the print processing ontothe discharge tray, and stops blinking the LED 46 when the printed sheetis taken from the discharge tray.

In the communication system 1 as described above, the printer that is toexecute the print processing transmits the beacon signal using the BLEcommunication to determine whether the user enters the transmissionrange of the beacon signal transmitted from the printer 30. When theuser enters the transmission range of the beacon signal, the LED 46blinks. This processing allows the user to easily recognize the printer30 having executed the print processing and get the printed sheet fromthe printer 30 without doubt.

In the secure printing in the communication system 1, the printprocessing is executed only when the user enters the transmission rangeof the beacon signal transmitted from the printer that is to execute theprint processing. That is, in the secure printing, only when the user islocated near the printer that is to execute the print processing, theprint processing is executed. This processing ensures confidentiality ofthe printed sheet. In the secure printing, the display 66 of the mobilephone 60 displays the print confirmation screen, and when the OK buttonis operated on the print confirmation screen, the print processing isexecuted. This processing further ensures the confidentiality of theprinted sheet.

Scan Program, Print Program, and Control Application

The above-described print processing is executed by execution of thescan program 26 by the CPU 12 of the scanner 10, execution of the printprogram 50 by the CPU 32 of the printer 30, and execution of the controlapplication 76 by the CPU 62 of the mobile phone 60. There will be nextexplained (i) a flow of processings executed when the scan program 26 isexecuted by the CPU 12 of the scanner 10 with reference to FIG. 2, (ii)a flow of processings executed when the print program 50 is executed bythe CPU 32 of the printer 30 with reference to FIGS. 3 and 4, and (iii)a flow of processings executed when the control application 76 isexecuted by the CPU 62 of the mobile phone 60 with reference to FIGS. 5and 6.

When the scan program 26 is executed by the CPU 12 in the scanner 10, asillustrated in FIG. 2, the CPU 12 at S100 determines whether the NFCwireless communication between the scanner 10 and the mobile phone 60 isestablished. When the NFC wireless communication between the scanner 10and the mobile phone 60 is not established (S100: NO), the CPU 12repeats the processing at S100. When the NFC wireless communicationbetween the scanner 10 and the mobile phone 60 is established (S100:YES), the CPU 12 at S102 acquires the serial number of the mobile phone60 over the established NFC wireless communication.

The CPU 12 at S104 determines whether the print processing designatingthe secure printing is set by a user operation on the input interface 18of the scanner 10. When the print processing designating the secureprinting is set (S104: YES), the CPU 12 at S106 stores informationindicating that the secure printing is designated, and this flow goes toS 108. When the print processing designating the secure printing is notset (S 104: NO), this flow goes to S108 by skipping S106.

The CPU 12 at S108 displays the printer selection screen on the display16 of the scanner 10. The CPU 12 at S110 determines whether the printerthat is to execute the print processing is selected on the printerselection screen. When the printer is not selected on the printerselection screen (S110: NO), the CPU 12 repeats the processing at S110.When the printer is selected on the printer selection screen (S110:YES), the CPU 12 at S112 executes the scan processing.

The CPU 12 at S114 determines whether the scan processing is completed.When the scan processing is not completed (S114: NO), this flow returnsto S112. When the scan processing is completed (S114: YES), the CPU 12at S116 transmits data to the printer selected at S110 via the networkinterface 20. This data contains: the specific information containingthe serial number acquired at S102; the setting information about theprint processing; and the scan data created at S 112. When theinformation indicating that the secure printing is designated is storedat S106, the setting information contains the information indicatingthat the secure printing is designated. Upon completion of theprocessing at S116, this flow ends.

When the print program 50 is executed by the CPU 32 in the printer 30,as illustrated in FIG. 3, the CPU 32 at S120 determines whether the datais received from the scanner 10. When the data is not received from thescanner 10 (S120: NO), the CPU 32 repeats the processing at S120. Whenthe data is received from the scanner 10 (S120: YES), the CPU 32 at S122determines whether the print processing for printing an image based onthe scan data is the secure printing.

When the print processing for printing an image based on the scan datais the secure printing (S122: YES), the CPU 32 at S124 startstransmitting the beacon signal, i.e., the advertisement packet, via theshort distance wireless communication interface 42. The CPU 32 at S126determines whether the CPU 32 receives the response to the beacon signalvia the short distance wireless communication interface 42. When theresponse to the beacon signal is not received (S126: NO), the CPU 32repeats the processing at S126. When the response to the beacon signalis received (S126: YES), the CPU 32 blinks the LED 46 at S128. Asdescribed above, the received response is a connection request packetfor requesting the two-way communication. The CPU 32 at S129 stopstransmitting the beacon signal and at S130 establishes the two-way BLEcommunication with the mobile phone 60 in accordance with the request ofthe connection request packet received at S126, and this flow goes toS132.

The CPU 32 at S132 determines whether the CPU 32 receives the printinstruction from the mobile phone 60 over the two-way BLE communication.When the print instruction is not received from the mobile phone 60(S132: NO), the CPU 32 repeats the processing at S132. When the printinstruction is received from the mobile phone 60 (S132: YES), the CPU 32executes the print processing at S134.

The CPU 32 at S136 determines whether the print processing is completed.When the print processing is not completed (S136: NO), this flow returnsto S134. When the print processing is completed (S136: YES), the CPU 32at S138 determines whether the printed sheet is taken from the dischargetray. It is noted that the CPU 32 uses a detection value of the sensor47 to determine the presence or absence of the printed sheet on thedischarge tray. When the printed sheet is not taken from the dischargetray (S138: NO), the CPU 32 repeats the processing at S138. When theprinted sheet is taken from the discharge tray (S138: YES), the CPU 32turns off the LED 46 at S140, and this flow ends.

When the CPU 32 determines at S122 that the print processing forprinting an image based on the scan data is not the secure printing(S122: NO), the CPU 32 executes the print processing at S142. The CPU 32at S144 determines whether the print processing is completed. When theprint processing is not completed (S144: NO), this flow returns to S142.When the print processing is completed (S144: YES), the CPU 32 at S146starts transmitting the beacon signal.

The CPU 32 at S148 determines whether the CPU 32 receives the responseto the beacon signal via the short distance wireless communicationinterface 42. When the CPU 32 does not receive the response to thebeacon signal (S148: NO), the CPU 32 repeats the processing at S148.When the response to the beacon signal is received (S148: YES), the CPU32 at S150 stops transmitting the beacon signal. The CPU 32 blinks theLED 46 at S152. The CPU 32 at S154 determines whether the printed sheetis taken from the discharge tray. When the printed sheet is not takenfrom the discharge tray (S154: NO), the CPU 32 repeats the processing atS154. When the printed sheet is taken from the discharge tray (S154:YES), the CPU 32 turns off the LED 46 at S140, and this flow ends.

When the control application 76 is executed by the CPU 62 in the mobilephone 60, as illustrated in FIG. 5, the CPU 62 at S160 determineswhether the NFC wireless communication between the scanner 10 and themobile phone 60 is established. When the NFC wireless communicationbetween the scanner 10 and the mobile phone 60 is not established (S160:NO), the CPU 62 repeats the processing at S160. When the NFC wirelesscommunication between the scanner 10 and the mobile phone 60 isestablished (S160: YES), the CPU 62 at S162 transmits the serial numberof the mobile phone 60 over the established NFC wireless communication,and this flow goes to S164. The CPU 62 at S164 switches the mobile phone60 to a state in which the CPU 62 can receive the beacon signal. Thatis, the short distance wireless communication interface 70 is energized.

The CPU 62 at S166 determines whether the CPU 62 receives the beaconsignal. When the beacon signal is not received (S166: NO), the CPU 62repeats the processing at S166. When the beacon signal is received(S166: YES), the CPU 62 at S168 determines whether the serial numbercontained in the beacon signal matches the serial number of the mobilephone 60. When the serial number contained in the beacon signal does notmatch the serial number of the mobile phone 60 (S168: NO), this flowreturns to S166.

When the serial number contained in the beacon signal matches the serialnumber of the mobile phone 60 (S168: YES), the CPU 62 at S170 transmitsthe response to the beacon signal via the short distance wirelesscommunication interface 70. It is noted that the beacon transmitted asthe response is a connection request packet. The CPU 62 at S172determines whether the print processing to be executed by the printer isthe secure printing. It is noted that this determination is performedbased on the secure printing information contained in the beacon signalreceived from the printer as described above.

When the print processing to be executed by the printer is the secureprinting (S172: YES), the CPU 62 at S174 determines whether the two-wayBLE communication with the printer is established in accordance with therequest transmitted at S170 as the connection request packet. When thetwo-way BLE communication is established (S174: YES) this flow goes toS176. When the two-way communication is not established (S174: NO), theCPU 62 repeats this processing until the two-way communication isestablished. It is noted that the CPU 62 can determine that the two-waycommunication is established with the printer to which the response istransmitted at S170, by determining that a packet received after theestablishment of the two-way communication contains the identificationinformation contained in the beacon signal that is determined to bereceived at S166.

The CPU 62 at S176 displays the print confirmation screen on the display66 of the mobile phone 60. The CPU 62 at S178 determines whether the OKbutton is operated on the print confirmation screen. When the OK buttonis not operated on the print confirmation screen (S178: NO), the CPU 62repeats the processing at S178. When the OK button is operated on theprint confirmation screen (S178: YES), the CPU 62 at S180 transmits theprint instruction to the printer over the two-way BLE communication, andthis flow ends. When the CPU 62 at S172 determines that the printprocessing to be executed by the printer is not the secure printing(S172: NO), this flow ends without execution of the processings atS174-S180.

It is noted that also when the print processing to be executed by theprinter is the secure printing, the response transmitted at S170 is theconnection request packet. In BLE, however, a device having received theconnection request packet does not necessarily follow the connectionrequest. In the present embodiment, the printer 30 terminates theabove-described procedure without establishing the two-way communicationby ignoring the request of the connection request packet received atS148 in FIG. 3. Accordingly, when the CPU 62 at S172 determines that theprint processing to be executed by the printer is not the secureprinting, the CPU 62 can terminate the above-described procedure.

Second Embodiment

There will be next explained operations of the communication system 1 ina second embodiment. It is noted that the communication system 1 in thesecond embodiment is similar in configuration to the communicationsystem 1 in the first embodiment, and an explanation of which isdispensed with.

While the printer that is to execute the print processing transmits thebeacon signal in the communication system 1 in the first embodiment, themobile phone 60 transmits the beacon signal in the communication system1 in the second embodiment. Specifically, when the scan processing isexecuted by the scanner 10, as in the first embodiment, the scanner 10transmits the scan data, the setting information indicating the settingsof the print processing, and the specific information including theserial number acquired from the mobile phone 60, to the printer that isto execute the print processing. The printer having received these datais switched to a state in which the printer can receive the beaconsignal. That is, the short distance wireless communication interface 42of the printer having received these data is energized, and the printeris switched to a state in which the printer can receive data via theshort distance wireless communication interface 42.

The mobile phone 60 continuously transmits the beacon signal. Beaconinformation transmitted from the mobile phone 60 contains an identifier,distance information, strength information, and specific information.The specific information contains the serial number of the mobile phone60. Thus, when the user having the mobile phone 60 approaches a printerhaving received information such as scan data, e.g., the printer 30, andthe printer 30 gets in a transmission range of the beacon signaltransmitted from the mobile phone 60, the printer 30 receives the beaconsignal via the short distance wireless communication interface 42.

The printer 30 extracts the specific information from the receivedbeacon signal and determines whether the serial number contained in thespecific information matches the serial number of the specificinformation contained in the data received from the scanner 10. When theserial number contained in the specific information of the beaconinformation matches the serial number of the specific informationcontained in the data received from the scanner 10, the CPU 32 blinksthe LED 46. This processing in the second embodiment allows the user toeasily recognize the printer 30 having executed the print processing andget the printed sheet from the printer 30 without doubt as in the firstembodiment. It is noted that, upon receiving the beacon signal, theprinter 30 transmits a response to the beacon signal to the mobile phone60 via the short distance wireless communication interface 42. Uponreceiving the response to the beacon signal, the mobile phone 60 stopstransmitting the beacon signal. It is noted that this response containsthe secure printing information.

In the communication system 1 in the second embodiment, only when theuser is located near the printer that is to execute the print processingin the secure printing, the CPU 32 executes the print processing.Specifically, after the mobile phone 60 receives the response to thebeacon signal and stops transmitting the beacon signal, the mobile phone60 establishes the two-way BLE communication with the printer 30 insteadof the BLE communication for transmitting the beacon signal. That is,when the mobile phone 60 determines that the printer 30 is locatedwithin the transmission range of the beacon signal, the mobile phone 60establishes the two-way BLE communication. The establishment of thetwo-way BLE communication allows instructions such as commands to betransferred between the printer 30 and the mobile phone 60.

Upon receiving the response to the beacon signal transmitted from themobile phone 60, the mobile phone 60 determines whether the secureprinting is set as the print processing that is to be executed by theprinter 30, based on the secure printing information contained in theresponse. When the secure printing is set as the print processing thatis to be executed by the printer 30, the mobile phone 60 establishes theBLE wireless communication with the printer 30. The display 66 of themobile phone 60 then displays the print confirmation screen. When the OKbutton is operated on the print confirmation screen, the mobile phone 60transmits the print instruction to the printer 30. As a result, theprinter 30 executes the print processing. In the communication system 1in the second embodiment, as in the first embodiment, the printprocessing is executed only when the user is located near the printerthat is to execute the print processing. This processing ensures theconfidentiality of the printed sheet.

There will be next explained (i) a flow of processings executed when theprint program 50 is executed by the CPU 32 of the printer 30 in thesecond embodiment with reference to FIGS. 7 and 8, and (ii) a flow ofprocessings executed when the control application 76 is executed by theCPU 62 of the mobile phone 60 in the second embodiment with reference toFIGS. 9 and 10. Some processings to be executed by the CPU 32 of theprinter 30 and the CPU 62 of the mobile phone 60 in the flows in thesecond embodiment are similar to those to be executed by the CPU 32 ofthe printer 30 and the CPU 62 of the mobile phone 60 in the flows in thefirst embodiment, and the similar processings will be explained briefly.The scan program 26 to be executed by the CPU 12 of the scanner 10 inthe second embodiment is identical to the scan program 26 to be executedby the CPU 12 of the scanner 10 in the first embodiment, and anexplanation and illustrations of which are dispensed with.

When the print program 50 is executed by the CPU 32 in the printer 30,as illustrated in FIG. 7, the CPU 32 at 5200 determines whether the CPU32 receives data from the scanner 10. When no data is received from thescanner 10 (S200: NO), the CPU 32 repeats the processing at S200. Whenthe data is received from the scanner 10 (S200: YES), the CPU 32 at S202switches the printer 30 to a state in which the CPU 32 can receive thebeacon signal. The CPU 32 at S204 determines whether the printprocessing for printing an image based on the scan data is the secureprinting.

When the print processing for printing an image based on the scan datais the secure printing (S204: YES), the CPU 32 at S206 determineswhether the CPU 32 receives the beacon signal via the short distancewireless communication interface 42. When the beacon signal is notreceived (S206: NO), the CPU 32 repeats the processing at S206. When thebeacon signal is received (S206: YES), the CPU 32 at S206A determineswhether the serial number contained in the beacon signal matches theserial number contained in the data received from the scanner 10. Whenthe serial number contained in the beacon signal matches the serialnumber contained in the data received from the scanner 10 (S206A: YES),the CPU 32 at S207 transmits the response to the beacon signal via theshort distance wireless communication interface 42. When the serialnumber contained in the beacon signal does not match the serial numbercontained in the data received from the scanner 10 (S206A: NO), the CPU32 repeats the processing at S206A. It is noted that the response to thebeacon signal contains information for identifying whether the printprocessing is the secure printing. This response is a connection requestpacket. After the response to the beacon signal is transmitted at S207,the CPU 32 at S207A stops transmitting the beacon signal via the shortdistance wireless communication interface 42.

The CPU 32 at S208 determines whether the two-way BLE communicationbetween the printer 30 and the mobile phone 60 is established. When thetwo-way BLE communication is established (S208: YES) this flow goes toS210. When the two-way communication is not established (S208: NO), theCPU 32 repeats this processing until the two-way communication isestablished. It is noted that the CPU 32 can determine that the two-waycommunication is established with the mobile phone 60, to which theresponse is transmitted at S207, by determining that a packet receivedafter the establishment of the two-way communication contains theidentification information contained in the beacon signal that isdetermined to be received at S206. When the two-way BLE communication isestablished, the CPU 32 executes processings at S210 and subsequentsteps, but the processings at S212 and subsequent steps are similar tothose at the processings at S132 and subsequent steps in FIG. 4, and anexplanation of which is dispensed with.

When the CPU 32 at S204 determines that the print processing forprinting an image based on the scan data is not the secure printing(S204: NO), the CPU 32 executes the print processing at S222. The CPU 32at S224 determines whether the print processing is completed. When theprint processing is not completed (S224: NO), this flow returns to S222.When the print processing is completed (S224: YES), the CPU 32 at S226determines whether the CPU 32 receives the beacon signal via the shortdistance wireless communication interface 42. When the beacon signal isnot received (S226: NO), the CPU 32 repeats the processing at S226.

When the beacon signal is received (S226: YES), the CPU 32 at S227determines whether the serial number contained in the beacon signalmatches the serial number contained in the data received from thescanner 10. When the serial number contained in the beacon signal doesnot match the serial number contained in the data received from thescanner 10 (S227: NO), this flow returns to S226. When the serial numbercontained in the beacon signal matches the serial number contained inthe data received from the scanner 10 (S227: YES), the CPU 32 at S228transmits the response to the beacon signal via the short distancewireless communication interface 42. Upon completion of the processingat S228, the CPU 32 executes processings at S230 and subsequent steps,but the processings at S230 and subsequent steps are similar to those atthe processings at S152 and subsequent steps in FIG. 3, and anexplanation of which is dispensed with. It is noted that the responsetransmitted at S228 may not be the connection request packet because thetwo-way communication need not be thereafter established. In BLE,however, a device having received the connection request packet does notnecessarily follow the connection request as described above. Thus, theresponse transmitted at S228 may be the connection request packet.

When the control application 76 is executed by the CPU 62 in the mobilephone 60, as illustrated in FIG. 9, the CPU 62 at S240 determineswhether the NFC wireless communication between the scanner 10 and themobile phone 60 is established. When the NFC wireless communicationbetween the scanner 10 and the mobile phone 60 is not established (S240:NO), the CPU 62 repeats the processing at S240. When the NFC wirelesscommunication between the scanner 10 and the mobile phone 60 isestablished (S240: YES), the CPU 62 at S244 starts transmitting thebeacon signal via the short distance wireless communication interface70.

The CPU 62 at S246 determines whether the CPU 62 receives the responseto the beacon signal via the short distance wireless communicationinterface 70. When the response to the beacon signal is not received(S246: NO), the CPU 62 repeats the processing at S246. When the responseto the beacon signal is received (S246: YES), the CPU 62 at S248determines whether the print processing is the secure printing, based oninformation contained in the response to the beacon signal. When theprint processing is not the secure printing (S248: NO), this flow ends.

When the print processing is the secure printing (S248: YES), the CPU 62at S250 stops transmitting the beacon signal and establishes the two-wayBLE communication in accordance with the response (i.e., the connectionrequest packet) that is determined to be received at S246, and this flowgoes to S256. Processings at S256 and subsequent steps are identical tothe processings at S176 and subsequent steps in FIG. 6, and anexplanation of which is dispensed with.

While the embodiments have been described above, it is to be understoodthat the disclosure is not limited to the details of the illustratedembodiments, but may be embodied with various changes and modifications,which may occur to those skilled in the art, without departing from thespirit and scope of the disclosure. For example, while the serial numberof the mobile phone 60 is used as the identification information in theabove-described embodiments, various kinds of information may be used asthe identification information. Specifically, for example, the scanner10 creates a one-time ID and transmits the one-time ID to a printer thatis to execute the print processing, with information such as scan data.The printer incorporates the one-time ID into the beacon signal as theidentification information and transmits the beacon signal to the mobilephone 60. The scanner 10 transmits the created one-time ID not only tothe printer but also to the mobile phone 60. Upon receiving the one-timeID, the mobile phone 60 determines whether the one-time ID contained inthe beacon signal matches the one-time ID received from the scanner 10.When the one-time ID contained in the beacon signal matches the one-timeID received from the scanner 10, the mobile phone 60 transmits theresponse to the beacon signal to the printer. The same effects asobtained in the above-described embodiments can be obtained by theabove-described configuration in which the one-time ID created by thescanner 10 is used as the identification information.

In the above-described embodiments, the LED 46 of the printer that is toexecute the print processing blinks in order to indicate that theprinter provided with the blinking LED 46 is the printer that is toexecute the print processing. The printer may indicate the printer thatis to execute the print processing by controlling the display 36 toblink or controlling a speaker to produce sounds, for example.

In the above-described embodiments, the scanner 10 executes the scanprocessing and transmits the scan data created in the scan processing tothe printer that is to execute the print processing. However, image datastored in an external device such as a PC may be transmitted to theprinter that is to execute the print processing, for example.

In the above-described embodiments, the secure printing is executed whenthe print instruction is transmitted from the mobile phone 60 to theprinter 30. However, the secure printing may be executed when Bluetoothwireless communication is established between the printer 30 and themobile phone 60. Also, the secure printing is executed when particularauthentication information is input to the input interface 38 of theprinter 30, for example.

In the above-described embodiments, the short distance wirelesscommunication interface is capable of performing the two-waycommunication and transmitting the beacon. In the first embodiment,however, the short distance wireless communication interface may use amodule capable of only transmitting the beacon signal, and the CPU maycontrol the module to transmit and stop the beacon signal and updateinformation contained in the beacon signal, for example.

While the processings illustrated in FIGS. 2-10 are executed by the CPU12, the CPU 32, and the CPU 62 in the above-described embodiments, otherdevices may execute these processing. For example, these processing maybe executed by an ASIC or other logical integrated circuits and may beexecuted by cooperation of the CPU, the ASIC, and other the logicalintegrated circuits, for example.

What is claimed is:
 1. An image recording apparatus, comprising: a firstcommunication interface configured to perform communication according toa first communication standard; a second communication interfaceconfigured to perform communication according to a second communicationstandard that is different from the first communication standard andthat is a wireless communication standard; an image recorder; and acontroller configured to perform: receiving image data and firstidentification information from an image-data output device via thefirst communication interface, the first identification informationbeing identification information that is stored in a mobile terminal;and broadcasting the received first identification information via thesecond communication interface.
 2. The image recording apparatusaccording to claim 1, wherein the first identification information hasbeen transmitted from the mobile terminal to the image-data outputdevice before the controller receives the first identificationinformation from the image-data output device.
 3. The image recordingapparatus according to claim 1, further comprising a notifier, whereinthe controller is configured to control the notifier to provide anotification when the controller receives a response to the broadcastedfirst identification information from the mobile terminal via the secondcommunication interface.
 4. The image recording apparatus according toclaim 3, wherein the controller is configured to receive the responsefrom the mobile terminal that is identified by the broadcasted firstidentification information.
 5. The image recording apparatus accordingto claim 1, further comprising a storage, wherein the controller isconfigured to: receive, via the first communication interface, the imagedata, the first identification information, and' information indicatingwhether storage printing is to be performed based on the image data;broadcast the received first identification information via the secondcommunication interface; store the received image data into the storagewhen the controller receives information indicating that the storageprinting is to be performed based on the image data; and record an imageon a recording medium based on the image data stored in the storage,after the controller receives a response to the broadcasted firstidentification information from the mobile terminal via the secondcommunication interface.
 6. The image recording apparatus according toclaim 5, wherein the controller is configured to: broadcast the receivedfirst identification information via the second communication interfaceover one-way communication; receive the response to the broadcastedfirst identification information from the mobile terminal via the secondcommunication interface over one-way communication; and when thecontroller receives, via the first communication interface, theinformation indicating that the storage printing is to be performedbased on the image data, record an image on a recording medium based onthe image data received from the image-data output device, when two-waycommunication is established with the mobile terminal according to thesecond communication standard after the controller receives the responsefrom the mobile terminal.
 7. The image recording apparatus according toclaim 1, wherein the controller is configured to: broadcast the receivedfirst identification information via the second communication interface;and stop broadcasting the received first identification information whenthe controller receives a response to the broadcasted firstidentification information from the mobile terminal.
 8. The imagerecording apparatus according to claim 1, wherein the firstidentification information is information for identifying one mobileterminal communicable according to the second communication standard. 9.The image recording apparatus according to claim 1, wherein the secondcommunication standard is Bluetooth low energy, and wherein thecontroller is configured to transmit the received first identificationinformation in a state in which the received first identificationinformation is incorporated in a beacon based on the Bluetooth lowenergy.
 10. The image recording apparatus according to claim 1, whereinthe first identification information is created by the image-data outputdevice and transmitted to the mobile terminal.
 11. An image recordingapparatus, comprising: a first communication interface configured toperform communication according to a first communication standard; asecond communication interface configured to perform communicationaccording to a second communication standard that is different from thefirst communication standard and that is a wireless communicationstandard; an image recorder; and a controller configured to perform:receiving image data and first identification information from animage-data output device via the first communication interface, thefirst identification information being identification information thatis stored in a mobile terminal; and when the controller receives thefirst identification information from the mobile terminal via the secondcommunication interface, transmitting a response to the reception of thefirst identification information to the mobile terminal via the secondcommunication interface.
 12. The image recording apparatus according toclaim 11, further comprising a notifier, wherein the controller isconfigured to control the notifier to provide a notification when thecontroller receives the first identification information from the mobileterminal.
 13. The image recording apparatus according to claim 11,further comprising a storage, wherein the controller is configured to:when the controller receives, via the first communication interface, theimage data, the first identification information, and informationindicating whether storage printing is to be performed based on theimage data, store the received image data into the storage; and recordan image on a recording medium based on the image data stored in thestorage, after the controller receives the first identificationinformation from the mobile terminal via the second communicationinterface.
 14. The image recording apparatus according to claim 13,wherein the controller is configured to: transmit the received firstidentification information via the second communication interface overone-way communication; receive the first identification information fromthe mobile terminal via the second communication interface over one-waycommunication; and when the information indicating whether the storageprinting is to be performed based on the image data is received via thefirst communication interface, record an image on a recording mediumbased on the image data received from the image-data output device, whentwo-way communication is established with the mobile terminal accordingto the second communication standard after the controller receives thefirst identification information from the mobile terminal.
 15. The imagerecording apparatus according to claim 11, wherein the controller isconfigured to be switched to a state in which communication is allowedvia the second communication interface according to the secondcommunication standard, after the controller receives the image data andthe first identification information from the image-data output devicevia the first communication interface.
 16. The image recording apparatusaccording to claim 11, wherein the controller is configured to: receivea beacon from the mobile terminal via the second communicationinterface, the beacon containing the first identification informationand distance information indicating a distance between the mobileterminal and the image recording apparatus; and transmit the response tothe reception of the first identification information to the mobileterminal via the second communication interface when the distanceindicated by the distance information is less than a particulardistance.
 17. The image recording apparatus according to claim 11,wherein the first identification information is transmitted from themobile device to the image-data output device and transmitted from theimage-data output device to the image recording apparatus.
 18. The imagerecording apparatus according to claim 11, wherein the firstidentification information is created by the image-data output deviceand transmitted to the mobile terminal.